package org.chen.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("article_category")
public class ArticleCategory {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    
    private String name;
    
    private String parentId;
    
    private Integer level;
    
    private Integer sort;
    
    private String path;  // 存储分类路径，如 "体育/足球/英超"
    
    private LocalDateTime createTime;
    
    private LocalDateTime updateTime;
}